Skip to content

Conversation

@markmetcalfe
Copy link
Member

This fixes warnings that appear in the terminal output when running tdb list with no backups or .dump totara box backups

To test this:

  1. Check out this PR
  2. In your .env, set TDB_BACKUP_PATH to a new empty directory (e.g. set it to TDB_BACKUP_PATH="/Users/mark/test1" and run mkdir /Users/mark/test1)
  3. Run tdb list and make sure no errors are output and it outputs No (db type) backups found

@LinnyTheDuck LinnyTheDuck self-requested a review September 23, 2025 22:07
@markmetcalfe markmetcalfe changed the base branch from develop to master October 13, 2025 20:47
@markmetcalfe markmetcalfe changed the title Fix errors when listing db backups when none exist fix: Fix errors when listing db backups when none exist Nov 14, 2025
Copy link
Collaborator

@LinnyTheDuck LinnyTheDuck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Tested and working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants